<?php
if(isset($_GET['id'])) {
	echo $_GET['id'] . ": ";
}
if(isset($_GET['accepted'])) {
	$added_message 	= $_GET['AddedMessage'];
	$recipient_id 	= $_GET['id'];
	$full_friend 	= $_GET['full_friend'];
	echo $userid;
	echo $recipient_id;
		mysql_connect("localhost", "root", "")or die("Could not connect: " . mysql_error());
		mysql_select_db("druvla_public") or die(mysql_error());
		mysql_query("INSERT IGNORE INTO requests (RequestSentByID, RequestRecipientID, StatusType, AddedMessage, FriendType)
			VALUES('$userid', '$recipient_id', 'Pending', '$added_message', 'full')")or die(mysql_error());
}
if(isset($_GET['denied'])) {
	echo "success";
}
?>